import {
	request
} from '@/utils/request.js'

export function apiGetBanner() {
	return request({
		url: "/homeBanner",
		method: 'POST'
	})
}

export function apiGetDayRandom() {
	return request({
		url: "/randomWall"
	})
}

export function apiGetNotice(data = {}) {
	return request({
		url: '/wallNewsList',
		data,
	})
}

export const aipGetClassify = (data={}) => {
	return request({
		url: '/classify',
		data
	})
}

export const apiGetClassList = (data={}) => {
	return request({
		url: '/wallList',
		data
	})
}

export const apiSetupScore = (data={}) => {
	return request({
		url: '/setupScore',
		data
	})
}

export const aipWriteDownload = (data={}) => {
	return request({
		url: '/downloadWall',
		data,
	})
}

export const apiUserInfo = (data={}) => {
	return request({
		url: '/userInfo',
		data,
	})
}

export const apiUserWallList = (data={}) => {
	return request({
		url: '/userWallList',
		data,
	})
}

export const apiNoticeDetail = (data={}) => {
	return request({
		url: '/wallNewsDetail',
		data,
	})
}

export const apiSearchData = (data={}) => {
	return request({
		url: '/searchWall',
		data,
	})
}